package com.dmm.user.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * <p>
 * 
 * </p>
 *
 * @author dmm
 * @since 2023-03-27
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = false)
public class Signin implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 登陆邮箱
     */
     @TableId
      private String email;

    /**
     * 密码
     */
    private String password;

    /**
     * 权限
     */
    private Integer authority;

    /**
     * 验证码
     */

    @TableField(exist = false)
    private Integer code;

    /**
     * 旧密码
     */

    @TableField(exist = false)
    private String oldpassword;

}
